/**
 * @file settings.h
 * @brief Qt widget for setup step and claim orb
 * @date 2020-10-17
 */
#pragma once

#include <QWidget>

class State;
class QSpinBox;
class QCheckBox;
class QDoubleSpinBox;
class QToolButton;

/**
 * @class Settings
 * @brief QWidget for display players settings
 */
class Settings : public QWidget
{
    Q_OBJECT
public:
    /**
     * @brief Construct Settings object
     * @param   parent  QWidget parent
     */
    explicit Settings( QWidget * parent = nullptr );

signals:

    /**
     * @brief emit on tier changing
     * @param   tier    new tier value
     */
    void tierChanged( double tier );

    /**
     * @brief emit on playthrough changing
     * @param   playthrough     new playthrough value
     */
    void playthroughChanged( int playthrough );

private:
    QDoubleSpinBox * tier;
    QSpinBox * playthrough;
};
